package com.kf.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author 康峰
 * @since 2022-12-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Defence对象", description="")
public class Defence implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String department;
    @ApiModelProperty(value = "指导老师")
    private String tusername;

    @ApiModelProperty(value = "姓名")
    private String teaName;


    @ApiModelProperty(value = "班级")
    @TableField("class")
    private String classes;

    @ApiModelProperty(value = "答辩开始时间")
    @TableField("starttime")
    private String starttime;

    @ApiModelProperty(value = "答辩地点")
    private String place;

    @ApiModelProperty(value = "答辩老师1教职号")
    private String tusername1;

    @ApiModelProperty(value = "答辩老师1")
    @TableField("teaname1")
    private String teaname1;

    @ApiModelProperty(value = "答辩老师2教职号")
    private String tusername2;

    @ApiModelProperty(value = "答辩老师2")
    @TableField("teaname2")
    private String teaname2;

    @ApiModelProperty(value = "答辩老师3教职号")
    private String tusername3;

    @ApiModelProperty(value = "答辩老师3")
    @TableField("teaname3")
    private String teaname3;

    @ApiModelProperty(value = "答辩老师1教职号")
    private String tusername4;

    @ApiModelProperty(value = "答辩老师4")
    @TableField("teaname4")
    private String teaname4;

    @Version
    private Integer version;

    @TableLogic
    private Integer deleted;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date gmtModified;


}
